/* Root Variables */
:root {
  --text-color: #000;
  --secondary-color: #5151ef;
  --main-color: white;
  --sub-text-color: #808080;
  --light-bg-color: rgb(246, 246, 246);
  --dark-bg-color: #0f0f28;
  --pane-padding: 32px 100px;
  --primary-font-family: 'Poppins', sans-serif;
  --primary-font-weight: 450;
  --primary-font-style: normal;
  --primary-font-size: 22px;
}

/* Boilerplate */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  width: 100%;
  background-color: var(--main-color);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

/* Logo */
.logo {
  padding-left: 100px;
  font-family: var(--primary-font-family);
  font-weight: 800;
  font-size: 22px;
}

.logo img {
  width: 140px;
  margin-top: 10px;
}

/* Nav List */
.navlist {
  display: flex;
  gap: 32px;
  list-style-type: none;
  padding-right: 100px;
  font-family: var(--primary-font-family);
  font-weight: 500;
  font-size: 18px;
  color: var(--text-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding-right: 30px;
  z-index: 1001;
  color: black;
}
.close-btn{
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navlist {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--main-color);
    width: 70%;
    height: 100vh;
    padding-top: 80px;
    padding-left: 30px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .navlist.active {
    right: 0;
  }

  .navlist li {
    margin-bottom: 20px;
  }

  .navlist a {
    color: black;
    font-size: 18px;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    color: black;
  }

  .logo {
    padding-left: 30px;
  }

  .logo img {
    width: 120px;
  }
}
